﻿
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
 
<meta http-equiv="x-ua-compatible" content="IE=EmulateIE8" >

  <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0" />
  <title>奇台片区收费站货车收费计算器</title>
  <link rel="stylesheet" href="bootstrap.min.css">

  <!-- 可选的Bootstrap主题文件（一般不用引入） -->
  <link rel="stylesheet" href="bootstrap-theme.min.css">

  <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  <script src="jquery.min.js"></script>

  <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
  <script src="bootstrap.min.js"></script>

  <script language="javascript" type="text/javascript">
        var RHY_Fare = {
            tolls:[
                {name:"南泉子主线" }, 
                {name:"火烧山匝道" }, 
                {name:"五彩湾匝道"},                                       
                {name:"红旗农场匝道"},
                {name:"三台油库匝道"},
                {name:"滋泥泉子匝道"},
                {name:"三台匝道"  },
                {name:"吉木萨尔匝道"},
                {name:"泉子街匝道" },
                {name:"奇台匝道"  },
                {name:"中心团场匝道"},
                {name:"老奇台匝道" },
                {name:"双涝坝匝道" },
                {name:"木垒匝道"   },
                {name:"博斯坦匝道" },
                {name:"大浪沙匝道" }
            ],
            toll:[

                {entry:"南泉子主线",name:"火烧山匝道",   lc:116.824   ,fl:0.07},              
                {entry:"南泉子主线",name:"五彩湾匝道",   lc:100.068   ,fl:0.07},              
                {entry:"南泉子主线",name:"红旗农场匝道", lc:52.168    ,fl:0.07},          
                {entry:"南泉子主线",name:"三台油库匝道", lc:33.843    ,fl:0.07},          
                {entry:"南泉子主线",name:"滋泥泉子匝道", lc:25.368    ,fl:0.07},          
                {entry:"南泉子主线",name:"三台匝道",     lc:36.775    ,fl:0.07},          
                {entry:"南泉子主线",name:"吉木萨尔匝道", lc:61.432    ,fl:0.07},          
                {entry:"南泉子主线",name:"泉子街匝道",   lc:66.664    ,fl:0.07},          
                {entry:"南泉子主线",name:"奇台匝道",     lc:94.005    ,fl:0.07},          
                {entry:"南泉子主线",name:"中心团场匝道", lc:111.671   ,fl:0.07},              
                {entry:"南泉子主线",name:"老奇台匝道",   lc:126.052   ,fl:0.07},              
                {entry:"南泉子主线",name:"双涝坝匝道",   lc:136.365   ,fl:0.07},              
                {entry:"南泉子主线",name:"木垒匝道",     lc:156.450   ,fl:0.07},              
                {entry:"南泉子主线",name:"博斯坦匝道",   lc:184.565   ,fl:0.07},              
                {entry:"南泉子主线",name:"大浪沙匝道",   lc:206.085   ,fl:0.07},  

                {entry:"火烧山匝道",name:"南泉子主线",   lc:116.824,fl:0.0700},
                {entry:"火烧山匝道",name:"五彩湾匝道",   lc:16.756 ,fl:0.07},          
                {entry:"火烧山匝道",name:"红旗农场匝道", lc:64.656 ,fl:0.07},          
                {entry:"火烧山匝道",name:"三台油库匝道", lc:82.981 ,fl:0.07},          
                {entry:"火烧山匝道",name:"滋泥泉子匝道", lc:91.456 ,fl:0.07},          
                {entry:"火烧山匝道",name:"三台匝道",     lc:115.600,fl:0.07},              
                {entry:"火烧山匝道",name:"吉木萨尔匝道", lc:140.256,fl:0.07},              
                {entry:"火烧山匝道",name:"泉子街匝道",   lc:145.489,fl:0.07},              
                {entry:"火烧山匝道",name:"奇台匝道",     lc:172.829,fl:0.07},              
                {entry:"火烧山匝道",name:"中心团场匝道", lc:190.495,fl:0.07},              
                {entry:"火烧山匝道",name:"老奇台匝道",   lc:204.876,fl:0.07},              
                {entry:"火烧山匝道",name:"双涝坝匝道",   lc:215.189,fl:0.07},              
                {entry:"火烧山匝道",name:"木垒匝道",     lc:235.274,fl:0.07},              
                {entry:"火烧山匝道",name:"博斯坦匝道",   lc:263.389,fl:0.07},              
                {entry:"火烧山匝道",name:"大浪沙匝道",   lc:284.909,fl:0.07},

                {entry:"五彩湾匝道",name:"南泉子主线",   lc:100.068 ,fl:0.07},                 
                {entry:"五彩湾匝道",name:"火烧山匝道",   lc:16.756  ,fl:0.07},                          
                {entry:"五彩湾匝道",name:"红旗农场匝道", lc:47.900  ,fl:0.07},
                {entry:"五彩湾匝道",name:"三台油库匝道", lc:66.225  ,fl:0.07},
                {entry:"五彩湾匝道",name:"滋泥泉子匝道", lc:74.700  ,fl:0.07},
                {entry:"五彩湾匝道",name:"三台匝道",     lc:98.843  ,fl:0.07},
                {entry:"五彩湾匝道",name:"吉木萨尔匝道", lc:123.500 ,fl:0.07},
                {entry:"五彩湾匝道",name:"泉子街匝道",   lc:128.732 ,fl:0.07},
                {entry:"五彩湾匝道",name:"奇台匝道",     lc:156.073 ,fl:0.07},
                {entry:"五彩湾匝道",name:"中心团场匝道", lc:173.739 ,fl:0.07},
                {entry:"五彩湾匝道",name:"老奇台匝道",   lc:188.120 ,fl:0.07},
                {entry:"五彩湾匝道",name:"双涝坝匝道",   lc:198.433 ,fl:0.07},
                {entry:"五彩湾匝道",name:"木垒匝道",     lc:218.518 ,fl:0.07},
                {entry:"五彩湾匝道",name:"博斯坦匝道",   lc:246.633 ,fl:0.07},
                {entry:"五彩湾匝道",name:"大浪沙匝道",   lc:268.153 ,fl:0.07},

                {entry:"红旗农场匝道",name:"南泉子主线",   lc:52.168   ,fl:0.07},       
                {entry:"红旗农场匝道",name:"火烧山匝道",   lc:64.656   ,fl:0.07},       
                {entry:"红旗农场匝道",name:"五彩湾匝道",   lc:47.900 ,fl:0.07},
                {entry:"红旗农场匝道",name:"三台油库匝道", lc:18.325  ,fl:0.07},
                {entry:"红旗农场匝道",name:"滋泥泉子匝道", lc:26.800  ,fl:0.07},
                {entry:"红旗农场匝道",name:"三台匝道",     lc:50.943  ,fl:0.07},
                {entry:"红旗农场匝道",name:"吉木萨尔匝道", lc:75.600  ,fl:0.07},
                {entry:"红旗农场匝道",name:"泉子街匝道",   lc:80.832  ,fl:0.07},
                {entry:"红旗农场匝道",name:"奇台匝道",     lc:108.173 ,fl:0.07},
                {entry:"红旗农场匝道",name:"中心团场匝道", lc:125.839 ,fl:0.07},
                {entry:"红旗农场匝道",name:"老奇台匝道",   lc:140.220 ,fl:0.07},
                {entry:"红旗农场匝道",name:"双涝坝匝道",   lc:150.533 ,fl:0.07},
                {entry:"红旗农场匝道",name:"木垒匝道",     lc:170.618 ,fl:0.07},
                {entry:"红旗农场匝道",name:"博斯坦匝道",   lc:198.733 ,fl:0.07},
                {entry:"红旗农场匝道",name:"大浪沙匝道",   lc:220.253 ,fl:0.07},

                {entry:"三台油库匝道",name:"南泉子主线",   lc:33.843  ,fl:0.07},                
                {entry:"三台油库匝道",name:"火烧山匝道",   lc:82.982  ,fl:0.07},                
                {entry:"三台油库匝道",name:"五彩湾匝道",   lc:66.225  ,fl:0.07},
                {entry:"三台油库匝道",name:"红旗农场匝道", lc:18.325  ,fl:0.07},
                {entry:"三台油库匝道",name:"滋泥泉子匝道", lc:8.475   ,fl:0.07},
                {entry:"三台油库匝道",name:"三台匝道",     lc:32.618  ,fl:0.07},
                {entry:"三台油库匝道",name:"吉木萨尔匝道", lc:57.275  ,fl:0.07},
                {entry:"三台油库匝道",name:"泉子街匝道",   lc:62.507  ,fl:0.07},
                {entry:"三台油库匝道",name:"奇台匝道",     lc:89.848  ,fl:0.07},
                {entry:"三台油库匝道",name:"中心团场匝道", lc:107.514 ,fl:0.07},
                {entry:"三台油库匝道",name:"老奇台匝道",   lc:121.895 ,fl:0.07},
                {entry:"三台油库匝道",name:"双涝坝匝道",   lc:132.208 ,fl:0.07},
                {entry:"三台油库匝道",name:"木垒匝道",     lc:152.293 ,fl:0.07},
                {entry:"三台油库匝道",name:"博斯坦匝道",   lc:180.408 ,fl:0.07},
                {entry:"三台油库匝道",name:"大浪沙匝道",   lc:201.928 ,fl:0.07},
               
               
                {entry:"滋泥泉子匝道",name:"南泉子主线",   lc:25.368  ,fl:0.07},                
                {entry:"滋泥泉子匝道",name:"火烧山匝道",   lc:91.456  ,fl:0.07},                
                {entry:"滋泥泉子匝道",name:"五彩湾匝道",   lc:74.700  ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"红旗农场匝道", lc:26.800  ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"三台油库匝道", lc:8.475   ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"三台匝道",     lc:24.143  ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"吉木萨尔匝道", lc:48.800  ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"泉子街匝道",   lc:54.032  ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"奇台匝道",     lc:81.373  ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"中心团场匝道", lc:99.039 ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"老奇台匝道",   lc:113.420 ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"双涝坝匝道",   lc:123.733 ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"木垒匝道",     lc:143.818 ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"博斯坦匝道",   lc:171.933 ,fl:0.07},
                {entry:"滋泥泉子匝道",name:"大浪沙匝道",   lc:193.453 ,fl:0.07},
                
                {entry:"三台匝道",name:"南泉子主线",   lc:36.775  ,fl:0.07},                
                {entry:"三台匝道",name:"火烧山匝道",   lc:115.600 ,fl:0.07},                
                {entry:"三台匝道",name:"五彩湾匝道",   lc:96.843  ,fl:0.07},
                {entry:"三台匝道",name:"红旗农场匝道", lc:50.943  ,fl:0.07},
                {entry:"三台匝道",name:"三台油库匝道", lc:32.618  ,fl:0.07},
                {entry:"三台匝道",name:"滋泥泉子匝道", lc:24.143  ,fl:0.07},
                {entry:"三台匝道",name:"吉木萨尔匝道", lc:24.656  ,fl:0.07},
                {entry:"三台匝道",name:"泉子街匝道",   lc:29.889  ,fl:0.07},
                {entry:"三台匝道",name:"奇台匝道",     lc:57.229  ,fl:0.07},
                {entry:"三台匝道",name:"中心团场匝道", lc:74.695 ,fl:0.07},
                {entry:"三台匝道",name:"老奇台匝道",   lc:89.277 ,fl:0.07},
                {entry:"三台匝道",name:"双涝坝匝道",   lc:99.589 ,fl:0.07},
                {entry:"三台匝道",name:"木垒匝道",     lc:119.676 ,fl:0.07},
                {entry:"三台匝道",name:"博斯坦匝道",   lc:147.790 ,fl:0.07},
                {entry:"三台匝道",name:"大浪沙匝道",   lc:169.390 ,fl:0.07},
                
                   {entry:"吉木萨尔匝道",name:"南泉子主线",   lc:61.432  ,fl:0.07},                
                {entry:"吉木萨尔匝道",name:"火烧山匝道",   lc:140.256 ,fl:0.07},                
                {entry:"吉木萨尔匝道",name:"五彩湾匝道",   lc:123.500  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"红旗农场匝道", lc:75.600  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"三台油库匝道", lc:57.275  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"滋泥泉子匝道", lc:48.800  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"三台匝道",     lc:24.656  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"泉子街匝道",   lc:5.233  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"奇台匝道",     lc:32.573  ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"中心团场匝道", lc:50.239 ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"老奇台匝道",   lc:64.620 ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"双涝坝匝道",   lc:74.933 ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"木垒匝道",     lc:95.018 ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"博斯坦匝道",   lc:123.133 ,fl:0.07},
                {entry:"吉木萨尔匝道",name:"大浪沙匝道",   lc:144.653 ,fl:0.07},
                
                {entry:"泉子街匝道",name:"南泉子主线",   lc:66.664  ,fl:0.07},           
                {entry:"泉子街匝道",name:"火烧山匝道",   lc:145.489 ,fl:0.07},                
                {entry:"泉子街匝道",name:"五彩湾匝道",   lc:128.732  ,fl:0.07},
                {entry:"泉子街匝道",name:"红旗农场匝道", lc:80.832  ,fl:0.07},
                {entry:"泉子街匝道",name:"三台油库匝道", lc:62.507  ,fl:0.07},
                {entry:"泉子街匝道",name:"滋泥泉子匝道", lc:54.032  ,fl:0.07},
                {entry:"泉子街匝道",name:"三台匝道",      lc:29.889  ,fl:0.07},
                {entry:"泉子街匝道",name:"吉木萨尔匝道",   lc:5.233  ,fl:0.07},
                {entry:"泉子街匝道",name:"奇台匝道",     lc:27.340  ,fl:0.07},
                {entry:"泉子街匝道",name:"中心团场匝道", lc:45.006 ,fl:0.07},
                {entry:"泉子街匝道",name:"老奇台匝道",   lc:59.388 ,fl:0.07},
                {entry:"泉子街匝道",name:"双涝坝匝道",   lc:69.700 ,fl:0.07},
                {entry:"泉子街匝道",name:"木垒匝道",     lc:89.766 ,fl:0.07},
                {entry:"泉子街匝道",name:"博斯坦匝道",   lc:117.901 ,fl:0.07},
                {entry:"泉子街匝道",name:"大浪沙匝道",   lc:139.420 ,fl:0.07},
                
                   
                {entry:"奇台匝道",name:"南泉子主线",   lc:94.005  ,fl:0.07},           
                {entry:"奇台匝道",name:"火烧山匝道",   lc:172.829 ,fl:0.07},                
                {entry:"奇台匝道",name:"五彩湾匝道",   lc:156.073  ,fl:0.07},
                {entry:"奇台匝道",name:"红旗农场匝道", lc:108.173  ,fl:0.07},
                {entry:"奇台匝道",name:"三台油库匝道", lc:89.848  ,fl:0.07},
                {entry:"奇台匝道",name:"滋泥泉子匝道", lc:81.373  ,fl:0.07},
                {entry:"奇台匝道",name:"三台匝道",     lc:57.229  ,fl:0.07},
                {entry:"奇台匝道",name:"吉木萨尔匝道",   lc:32.573  ,fl:0.07},
                {entry:"奇台匝道",name:"泉子街匝道",     lc:27.340  ,fl:0.07},
                {entry:"奇台匝道",name:"中心团场匝道", lc:17.666 ,fl:0.07},
                {entry:"奇台匝道",name:"老奇台匝道",   lc:32.047 ,fl:0.07},
                {entry:"奇台匝道",name:"双涝坝匝道",   lc:42.360 ,fl:0.07},
                {entry:"奇台匝道",name:"木垒匝道",     lc:62.445 ,fl:0.07},
                {entry:"奇台匝道",name:"博斯坦匝道",   lc:90.560 ,fl:0.07},
                {entry:"奇台匝道",name:"大浪沙匝道",   lc:112.080 ,fl:0.07},
                
                
                {entry:"中心团场匝道",name:"南泉子主线",   lc:111.671  ,fl:0.07},           
                {entry:"中心团场匝道",name:"火烧山匝道",   lc:190.495 ,fl:0.07},                
                {entry:"中心团场匝道",name:"五彩湾匝道",   lc:173.739  ,fl:0.07},
                {entry:"中心团场匝道",name:"红旗农场匝道", lc:125.839  ,fl:0.07},
                {entry:"中心团场匝道",name:"三台油库匝道", lc:107.514  ,fl:0.07},
                {entry:"中心团场匝道",name:"滋泥泉子匝道", lc:99.039  ,fl:0.07},
                {entry:"中心团场匝道",name:"三台匝道",     lc:74.895  ,fl:0.07},
                {entry:"中心团场匝道",name:"吉木萨尔匝道",   lc:50.239  ,fl:0.07},
                {entry:"中心团场匝道",name:"泉子街匝道",     lc:45.006  ,fl:0.07},
                {entry:"中心团场匝道",name:"奇台匝道", lc:17.666 ,fl:0.07},
                {entry:"中心团场匝道",name:"老奇台匝道",   lc:14.381 ,fl:0.07},
                {entry:"中心团场匝道",name:"双涝坝匝道",   lc:24.694 ,fl:0.07},
                {entry:"中心团场匝道",name:"木垒匝道",     lc:44.779 ,fl:0.07},
                {entry:"中心团场匝道",name:"博斯坦匝道",   lc:72.894 ,fl:0.07},
                {entry:"中心团场匝道",name:"大浪沙匝道",   lc:94.414 ,fl:0.07},
                
                
                {entry:"老奇台匝道",name:"南泉子主线",   lc:126.052  ,fl:0.07},           
                {entry:"老奇台匝道",name:"火烧山匝道",   lc:204.876 ,fl:0.07},                
                {entry:"老奇台匝道",name:"五彩湾匝道",   lc:188.120  ,fl:0.07},
                {entry:"老奇台匝道",name:"红旗农场匝道", lc:140.220  ,fl:0.07},
                {entry:"老奇台匝道",name:"三台油库匝道", lc:121.895  ,fl:0.07},
                {entry:"老奇台匝道",name:"滋泥泉子匝道", lc:113.420  ,fl:0.07},
                {entry:"老奇台匝道",name:"三台匝道",      lc:89.227  ,fl:0.07},
                {entry:"老奇台匝道",name:"吉木萨尔匝道",   lc:64.620  ,fl:0.07},
                {entry:"老奇台匝道",name:"泉子街匝道",     lc:59.388  ,fl:0.07},
                {entry:"老奇台匝道",name:"奇台匝道", lc:32.047 ,fl:0.07},
                {entry:"老奇台匝道",name:"中心团场匝道",   lc:14.381 ,fl:0.07},
                {entry:"老奇台匝道",name:"双涝坝匝道",   lc:10.313 ,fl:0.07},
                {entry:"老奇台匝道",name:"木垒匝道",     lc:30.398 ,fl:0.07},
                {entry:"老奇台匝道",name:"博斯坦匝道",   lc:58.513 ,fl:0.07},
                {entry:"老奇台匝道",name:"大浪沙匝道",   lc:80.033 ,fl:0.07},
                
                 {entry:"双涝坝匝道",name:"南泉子主线",   lc:136.365  ,fl:0.07},           
                {entry:"双涝坝匝道",name:"火烧山匝道",   lc:215.189 ,fl:0.07},                
                {entry:"双涝坝匝道",name:"五彩湾匝道",   lc:198.433  ,fl:0.07},
                {entry:"双涝坝匝道",name:"红旗农场匝道", lc:150.533  ,fl:0.07},
                {entry:"双涝坝匝道",name:"三台油库匝道", lc:132.208  ,fl:0.07},
                {entry:"双涝坝匝道",name:"滋泥泉子匝道", lc:123.733  ,fl:0.07},
                {entry:"双涝坝匝道",name:"三台匝道",      lc:99.589  ,fl:0.07},
                {entry:"双涝坝匝道",name:"吉木萨尔匝道",   lc:74.933  ,fl:0.07},
                {entry:"双涝坝匝道",name:"泉子街匝道",     lc:69.700  ,fl:0.07},
                {entry:"双涝坝匝道",name:"奇台匝道", lc:32.047 ,fl:0.07},
                {entry:"双涝坝匝道",name:"中心团场匝道",   lc:24.694 ,fl:0.07},
                {entry:"双涝坝匝道",name:"老奇台匝道",   lc:10.313 ,fl:0.07},
                {entry:"双涝坝匝道",name:"木垒匝道",     lc:20.085 ,fl:0.07},
                {entry:"双涝坝匝道",name:"博斯坦匝道",   lc:48.200 ,fl:0.07},
                {entry:"双涝坝匝道",name:"大浪沙匝道",   lc:69.720 ,fl:0.07},
                
                
                {entry:"木垒匝道",name:"南泉子主线",   lc:156.450  ,fl:0.07},           
                {entry:"木垒匝道",name:"火烧山匝道",   lc:235.274 ,fl:0.07},                
                {entry:"木垒匝道",name:"五彩湾匝道",   lc:218.518  ,fl:0.07},
                {entry:"木垒匝道",name:"红旗农场匝道", lc:170.618  ,fl:0.07},
                {entry:"木垒匝道",name:"三台油库匝道", lc:152.293  ,fl:0.07},
                {entry:"木垒匝道",name:"滋泥泉子匝道", lc:143.818  ,fl:0.07},
                {entry:"木垒匝道",name:"三台匝道",     lc:119.675  ,fl:0.07},
                {entry:"木垒匝道",name:"吉木萨尔匝道",   lc:95.018  ,fl:0.07},
                {entry:"木垒匝道",name:"泉子街匝道",     lc:89.786  ,fl:0.07},
                {entry:"木垒匝道",name:"奇台匝道", lc:62.445 ,fl:0.07},
                {entry:"木垒匝道",name:"中心团场匝道",   lc:44.779 ,fl:0.07},
                {entry:"木垒匝道",name:"老奇台匝道",   lc:30.398 ,fl:0.07},
                {entry:"木垒匝道",name:"双涝坝匝道",     lc:20.085 ,fl:0.07},
                {entry:"木垒匝道",name:"博斯坦匝道",   lc:28.115 ,fl:0.07},
                {entry:"木垒匝道",name:"大浪沙匝道",   lc:49.635 ,fl:0.07},
                
                {entry:"博斯坦匝道",name:"南泉子主线",   lc:184.565  ,fl:0.07},           
                {entry:"博斯坦匝道",name:"火烧山匝道",   lc:263.389 ,fl:0.07},                
                {entry:"博斯坦匝道",name:"五彩湾匝道",   lc:246.633  ,fl:0.07},
                {entry:"博斯坦匝道",name:"红旗农场匝道", lc:198.733  ,fl:0.07},
                {entry:"博斯坦匝道",name:"三台油库匝道", lc:180.408  ,fl:0.07},
                {entry:"博斯坦匝道",name:"滋泥泉子匝道", lc:171.933  ,fl:0.07},
                {entry:"博斯坦匝道",name:"三台匝道",      lc:147.790  ,fl:0.07},
                {entry:"博斯坦匝道",name:"吉木萨尔匝道",   lc:123.133  ,fl:0.07},
                {entry:"博斯坦匝道",name:"泉子街匝道",     lc:117.901  ,fl:0.07},
                {entry:"博斯坦匝道",name:"奇台匝道", lc:90.560 ,fl:0.07},
                {entry:"博斯坦匝道",name:"中心团场匝道",   lc:72.894 ,fl:0.07},
                {entry:"博斯坦匝道",name:"老奇台匝道",   lc:58.513 ,fl:0.07},
                {entry:"博斯坦匝道",name:"双涝坝匝道",     lc:48.200 ,fl:0.07},
                {entry:"博斯坦匝道",name:"木垒匝道",   lc:28.115 ,fl:0.07},
                {entry:"博斯坦匝道",name:"大浪沙匝道",   lc:21.520 ,fl:0.07},
                
                
                {entry:"大浪沙匝道",name:"南泉子主线",   lc:206.085  ,fl:0.07},           
                {entry:"大浪沙匝道",name:"火烧山匝道",   lc:284.909 ,fl:0.07},                
                {entry:"大浪沙匝道",name:"五彩湾匝道",   lc:268.153  ,fl:0.07},
                {entry:"大浪沙匝道",name:"红旗农场匝道", lc:220.253  ,fl:0.07},
                {entry:"大浪沙匝道",name:"三台油库匝道", lc:201.928  ,fl:0.07},
                {entry:"大浪沙匝道",name:"滋泥泉子匝道", lc:193.453  ,fl:0.07},
                {entry:"大浪沙匝道",name:"三台匝道",      lc:169.309  ,fl:0.07},
                {entry:"大浪沙匝道",name:"吉木萨尔匝道",   lc:144.653  ,fl:0.07},
                {entry:"大浪沙匝道",name:"泉子街匝道",     lc:139.420  ,fl:0.07},
                {entry:"大浪沙匝道",name:"奇台匝道", lc:112.080 ,fl:0.07},
                {entry:"大浪沙匝道",name:"中心团场匝道",   lc:94.414 ,fl:0.07},
                {entry:"大浪沙匝道",name:"老奇台匝道",   lc:80.033 ,fl:0.07},
                {entry:"大浪沙匝道",name:"双涝坝匝道",     lc:69.720 ,fl:0.07},
                {entry:"大浪沙匝道",name:"木垒匝道",   lc:49.635 ,fl:0.07},
                {entry:"大浪沙匝道",name:"博斯坦匝道",   lc:21.520 ,fl:0.07},
            ],
            
        
            limite: [{ zs: 2, name: "二轴车", xz: 17,XZ1:20 },
                    { zs: 3, name: "三轴车", xz: 27,XZ1:30 },
                    { zs: 4, name: "四轴车", xz: 37 ,XZ1:40},
                    { zs: 5, name: "五轴车", xz: 43 ,XZ1:50},
                    { zs: 6, name: "六轴车", xz: 49,XZ1:55}],
            carClass: [{ type: 0, name: "普通货车" }, { type: 1, name: "大件运输车"},{ type: 2, name: "标准集装箱"},
            { type: 3, name: "罐装运输"},
                    { type: 4, name: "甩挂运输"},
                    { type: 5, name: "绿色通道"},{ type: 6, name: "载有固定装置车"}],
            Constant: { LimitOfTheWeightBasicFareRate: 10,
                LimitOfTheWeightMinimumFareRate: 40,
                MinimumWeightForFareWeight: 4,
                TheFirstMultiplier: 1.3,
                TheSecondMultiplier: 2.0,
                TheFirstRateLimit: 1,
                TheSecondRateLimit: 6,
                TheMaxRateLimit: 12
            },
            result: {
                lc:  0,
                WeightLimit: 0,
                WeightLimitBIG: 0,
                AlxNum: 0,
                ISOverLoad: false,
                NormalWeight: 0,
                LowOverloadWeight: 0,
                HighOverloadWeight_I: 0,
                HighOverloadWeight_II: 0,
                Weight: 0,
                FareI: 0,
                FareII: 0,
                FareIII_I: 0,
                FareIII_II: 0,
                WeightTollFare: 0,
                FEQZ: 0,
                BasicFareRate: 0,
                MinimumFareRate: 0,
                Overload: 0,
                OverloadBIG: 0,
                OverloadRatio: 0,
                OverloadRatioBIG: 0,
                CarClass: 0
            },
            InitResult: function () {
                this.result.lc = 0;
                this.result.WeightLimit = 0;
                this.result.WeightLimitBIG = 0;
                this.result.ISOverLoad = false;
                this.result.NormalWeight = 0;
                this.result.LowOverloadWeight = 0;
                this.result.HighOverloadWeight_I = 0;
                this.result.HighOverloadWeight_II = 0;
                this.result.Weight = 0;
                this.result.FareI = 0;
                this.result.FareII = 0;
                this.result.FareIII_I = 0;
                this.result.FareIII_II = 0;
                this.result.WeightTollFare = 0;
                this.result.FEQZ = 0;
                this.result.BasicFareRate = 0;
                this.result.MinimumFareRate = 0;
                this.result.Overload = 0;
                this.result.OverloadRatio = 0;
                this.result.OverloadBIG = 0;
                this.result.OverloadRatioBIG = 0;
                this.result.CarClass = 0;
            },
            InitWeight: function () 
            {
                this.result.ISOverLoad = this.result.Weight > this.result.WeightLimit;
                if (this.result.Weight > (this.result.WeightLimit * this.Constant.TheSecondMultiplier)) 
                {
                    this.result.HighOverloadWeight_II = this.result.Weight - this.result.WeightLimit * this.Constant.TheSecondMultiplier;
                    this.result.HighOverloadWeight_I = this.result.WeightLimit * this.Constant.TheSecondMultiplier - this.result.WeightLimitBIG;
                    this.result.LowOverloadWeight = this.result.WeightLimit * (this.Constant.TheFirstMultiplier - 1);
                    this.result.NormalWeight = this.result.WeightLimitBIG;
                }
                else if (this.result.Weight > this.result.WeightLimitBIG ) 
                {
                    this.result.HighOverloadWeight_I = this.result.Weight - this.result.WeightLimitBIG ;
                    this.result.LowOverloadWeight = 0;
                    this.result.NormalWeight = this.result.WeightLimitBIG ;
                }
                else 
                {
                    this.result.NormalWeight = this.result.Weight;
                }
            },
            InitBigWeight: function () 
            {
                this.result.ISOverLoad = this.result.Weight > this.result.WeightLimit;
                if (this.result.Weight > this.result.WeightLimit) 
                {
                    this.result.LowOverloadWeight = this.result.Weight - this.result.WeightLimit;
                    this.result.NormalWeight = this.result.WeightLimit;

                }
                else 
                {
                    this.result.NormalWeight = this.result.Weight;
                }
            },
            FarePartI: function () 
            {
                var UseBasicFareRateOfWeight = 0;
                var UseLinearDecOfWeight = 0;
                var UseMiniFareRateOfWeight = 0;
                if (this.result.NormalWeight > this.Constant.LimitOfTheWeightMinimumFareRate) 
                {
                    UseMiniFareRateOfWeight = this.result.NormalWeight - this.Constant.LimitOfTheWeightMinimumFareRate;
                    UseLinearDecOfWeight = this.Constant.LimitOfTheWeightMinimumFareRate - this.Constant.LimitOfTheWeightBasicFareRate;
                    UseBasicFareRateOfWeight = this.Constant.LimitOfTheWeightBasicFareRate;
                }
                else if (this.result.NormalWeight > this.Constant.LimitOfTheWeightBasicFareRate) {
                    UseLinearDecOfWeight = this.result.NormalWeight - this.Constant.LimitOfTheWeightBasicFareRate;
                    UseBasicFareRateOfWeight = this.Constant.LimitOfTheWeightBasicFareRate;
                }
                else 
                {
                    UseBasicFareRateOfWeight = this.result.NormalWeight;
                }
                this.result.FareI = UseBasicFareRateOfWeight * this.result.BasicFareRate * this.result.lc;
                this.result.FareI += (this.result.BasicFareRate + (this.result.BasicFareRate - ((this.result.BasicFareRate - this.result.MinimumFareRate) / (this.Constant.LimitOfTheWeightMinimumFareRate - this.Constant.LimitOfTheWeightBasicFareRate)) * UseLinearDecOfWeight)) / 2 * this.result.lc * UseLinearDecOfWeight;
                this.result.FareI += UseMiniFareRateOfWeight * this.result.MinimumFareRate * this.result.lc;
            },
            FarePartII: function () 
            {
                this.result.FareII = 0; // this.result.LowOverloadWeight * this.result.BasicFareRate * this.result.lc;
            },
            FarePartIII_I: function () {
                var FareRate = this.result.BasicFareRate * (
                    (this.Constant.TheFirstRateLimit + this.result.HighOverloadWeight_I * (this.Constant.TheSecondRateLimit - this.Constant.TheFirstRateLimit) /
                    ((this.Constant.TheSecondMultiplier - this.Constant.TheFirstMultiplier) * this.result.WeightLimit))
                    );
                this.result.FareIII_I = this.result.HighOverloadWeight_I * this.result.lc * (FareRate + (this.Constant.TheFirstRateLimit * this.result.BasicFareRate)) / 2;
            },
            FarePartIII_I_2013: function () 
            {
                var FareStandRate = 0;
                if(this.result.WeightLimitBIG>40)
                {
                    FareStandRate = this.result.MinimumFareRate;
                }
                else
                {
                    FareStandRate = this.result.BasicFareRate - 
                        ((this.result.BasicFareRate - this.result.MinimumFareRate)/(this.Constant.LimitOfTheWeightMinimumFareRate - this.Constant.LimitOfTheWeightBasicFareRate))*(this.result.WeightLimitBIG-this.Constant.LimitOfTheWeightBasicFareRate);
                }
                 var FareRate   =   FareStandRate +  this.result.HighOverloadWeight_I*(this.Constant.TheSecondRateLimit*this.result.BasicFareRate - FareStandRate) / (this.Constant.TheSecondMultiplier*this.result.WeightLimit - this.result.WeightLimitBIG)  ;      
                this.result.FareIII_I = this.result.HighOverloadWeight_I * this.result.lc * (FareRate + FareStandRate) / 2;
            },
            FarePartIII_II: function () 
            {
                this.result.FareIII_II = this.result.HighOverloadWeight_II * this.result.lc * this.result.BasicFareRate * this.Constant.TheMaxRateLimit;
            },
            InitWeightTollFare: function () {
                this.result.WeightTollFare = this.result.FareI + this.result.FareII + this.result.FareIII_I + this.result.FareIII_II;
            },
            RoundToFinalFare: function () 
            {
                var FinalFare = (this.result.WeightTollFare);
                if (FinalFare < 5) {
                    FinalFare = 5;
                }
                FinalFare *=10;
                var y = FinalFare % 10;
                FinalFare -=y;
                if(y>=5)
                {
                    FinalFare +=10
                }
                this.result.FEQZ = FinalFare /10;
            },
            BigFare: function () 
            {
                //this.FarePartI();
        this.result.FareI = this.result.NormalWeight * this.result.BasicFareRate * this.result.lc
                this.result.FareII = this.result.LowOverloadWeight * this.result.BasicFareRate * this.result.lc;
            },
            Fare75: function()
            {
                this.result.WeightTollFare = this.result.WeightTollFare*0.75
            },
            NomalFareForTrucks: function (pWeight, paxesNum, ptoll, pcarclass) 
            {
                this.InitResult();
                this.result.Weight = pWeight <4 ? 4 : pWeight;

                this.result.lc = ptoll.lc;
                this.result.WeightLimit = paxesNum.xz;
                this.result.WeightLimitBIG = paxesNum.XZ1;
                this.result.AlxNum = paxesNum.zs
                this.result.BasicFareRate = ptoll.fl;
                this.result.CarClass = pcarclass ? pcarclass.type : 0;
                this.result.Weight  = (this.result.CarClass == 6) ? this.result.Weight/2:this.result.Weight;

                this.result.Weight = this.result.Weight <4 ? 4 : this.result.Weight;
                this.result.MinimumFareRate = this.result.BasicFareRate / 2;
                if ((this.result.Weight - this.result.WeightLimit) > 0) 
                {
                    this.result.Overload = this.result.Weight - this.result.WeightLimit;
                    this.result.OverloadRatio = ((this.result.Weight / this.result.WeightLimit) - 1) * 100;
                }
                if ((this.result.Weight - this.result.WeightLimitBIG) > 0) 
                {
                    this.result.OverloadBIG = this.result.Weight - this.result.WeightLimitBIG;
                    this.result.OverloadRatioBIG = ((this.result.Weight / this.result.WeightLimitBIG) - 1) * 100;
                }
                switch (this.result.CarClass) 
                {
                    case 1:
                        this.InitBigWeight();
                        this.BigFare();                       
                        

                        break;
                    default:
                        this.InitWeight();
                        this.FarePartI();
                        this.FarePartII();
                        this.FarePartIII_I_2013();
                        this.FarePartIII_II();
                        break;
                }

                this.InitWeightTollFare();
                switch (this.result.CarClass) 
                {
                    case 2:
                    case 3:
                    case 4:
                         if(this.result.Weight <= this.result.WeightLimitBIG)
                        {
                            this.Fare75();  
                        }                                            
                        break;
                    case 5:
                        if(this.result.Weight <= this.result.WeightLimitBIG*1.05)
                        {
                            this.result.WeightTollFare = 0;
                        }
                        break;
                }
                this.RoundToFinalFare();
                return this.result;
            }
        };
        var RHY_FareUI = 
        {
            Weight: null,
            Alxs: null,
            lc: null,
            Fl: null,
            Toll: null,
            Run: null,
            Result: null,
            CarClass: null,
            entrytoll:null,
            exittoll:null,
            InitComBox: function (obj, temp) {
                var i = 0;
                obj.innerHTML = "";
                for (i = 0; i < temp.length; i++) {
                    oOption = document.createElement("OPTION");
                    obj.options.add(oOption);
                    oOption.innerText = temp[i].name;
                    oOption.value = temp[i];
                    oOption.RHYOBJ = temp[i];
                }
            },
            Format: function (temp) {
                var r = "";
                switch (typeof (temp)) {
                    case "boolean":
                        r = temp ? "是" : "否";
                        break;
                    case "number":
                        r = Math.round(temp * 10000) / 10000;
                        break;
                    default:
                        r = temp;
                        break;
                }
                return r;
            },
            ShowUI: function (temp) 
            {
                for (var r in temp) 
                {
                    var obj = document.getElementById("RHY_Fare_Result_" + r);
                    if (obj != null) 
                    {
                        obj.innerHTML = this.Format(temp[r]);
                    }
                }
            },
            InitOKButton: function () 
            {
                this.Run.RHYOBJ = this;
                this.Run.onclick = function () 
                {
                    var rhyobj = this.RHYOBJ;
                    var Weight = rhyobj.Weight.value * 1;
                    var Alxs = rhyobj.Alxs.options[rhyobj.Alxs.selectedIndex].RHYOBJ;
                    var Toll = rhyobj.Toll.options[rhyobj.Toll.selectedIndex].RHYOBJ;
                    var CarClass = rhyobj.CarClass.options[rhyobj.CarClass.selectedIndex].RHYOBJ;
                    rhyobj.ShowUI(RHY_Fare.NomalFareForTrucks(Weight, Alxs, Toll, CarClass));
                }
            },
            Init: function () 
            {
                this.Result = null;
                this.Weight.Value = 0;
                
                this.InitComBox(this.Alxs, RHY_Fare.limite);
                this.InitComBox(this.CarClass, RHY_Fare.carClass);
                this.InitComBox(this.CarClass, RHY_Fare.carClass);
                this.InitComBox(this.entrytoll, RHY_Fare.tolls);

                this.InitOKButton();
            }

        }
        this.onload = function () {
            RHY_FareUI.Weight = document.getElementById("Weightdev");
            RHY_FareUI.Alxs = document.getElementById("alxsdev");
            RHY_FareUI.Toll = document.getElementById("tolldev");
            RHY_FareUI.CarClass = document.getElementById("carclassdev");
            RHY_FareUI.Run = document.getElementById("godev");
            RHY_FareUI.Result = document.getElementById("Resultdev");
            RHY_FareUI.entrytoll = document.getElementById("entrytoll");
            RHY_FareUI.entrytoll.onchange=function()
            {
              SelectToll(this.options[this.selectedIndex].innerHTML)
            }
            RHY_FareUI.exittoll = document.getElementById("exittoll");
            RHY_FareUI.Init();
            SelectToll(RHY_FareUI.entrytoll.options[RHY_FareUI.entrytoll.selectedIndex].innerHTML)
          
        }
        function SelectToll (tollnames) {
            // body...
            var i = 0;
                RHY_FareUI.Toll.innerHTML = "";
                var temp = RHY_Fare.toll;
                for (i = 0; i < temp.length; i++) {
                    if ( temp[i]!=null && temp[i].entry!=null &&  temp[i].entry == tollnames)
                    {
                        oOption = document.createElement("OPTION");
                        RHY_FareUI.Toll.options.add(oOption);
                        oOption.innerText = temp[i].name;
                        oOption.value = temp[i];
                        oOption.RHYOBJ = temp[i];
                    }
                    
                }
        }
        function SelectExitToll(tollnames) {
            // body...
            var i = 0;
            for (i = 0; i < entrytoll.options.length; i++) {
                if (    entrytoll.options[i].innerText== tollnames) {
                    entrytoll.selectedIndex = i;
                    break;
                }

            }
            return i;
        }
    </script>

  <style>
      
      .divlable
      {
        background: #2980B9;
        
      }
      .divinput
      {
        background: #3498DB;
       
      }

      .auto-style1 {
          height: 0px;
      }

    </style>

</head>
<body style="background-color:#cfddee">
<div class="col-lg-offset-3 col-lg-6 col-md-offset-2 col-md-8 ">
  <div class="list-group">
    <li class="list-group-item list-group-item-success " >
      <label>出口站</label>
        
      <select class="form-control"  id="entrytoll", onchange="SelectToll(this.innerText)" ></select>

    </li>
    <li class="list-group-item list-group-item-info">
      <label>入口站</label>
      <select class="form-control" id="tolldev"></select>
    </li>
    <li class="list-group-item list-group-item-warning">
      <label for="exampleInputEmail1">车轴数</label>
      <select class="form-control" id="alxsdev"></select>
    </li>
    <li class="list-group-item list-group-item-danger">
      <label for="exampleInputEmail1">车种</label>
      <select class="form-control" id="carclassdev"></select>
    </li>

    <li class="list-group-item list-group-item-success">
      <label for="exampleInputEmail1">车货总重</label>
      <input class="form-control"  id="Weightdev" type="text" value="5" />
    </li>
    <li class="list-group-item list-group-item-info" align = "center">
      <button id="godev" class="btn btn-default" >计算</button>
    

  </div>

  <div class="panel panel-default">
    <!-- Default panel contents -->
    <div class="panel-heading" align="center">计算结果</div>

    <!-- Table -->
    <table class="table table-bordered">
      <tr class="success">
        <td width="50%" align="right">收费里程</td>
        <td width="25%">
          <span id="RHY_Fare_Result_lc">0</span>
        </td>
        <td width="25%">公里</td>
      </tr>
      <tr class="info">
        <td align="right" class="auto-style1">基本费率</td>
        <td class="auto-style1">
          <span id="RHY_Fare_Result_BasicFareRate">0</span>
        </td>
        <td class="auto-style1">元</td>
      </tr>
      <tr class="warning">
        <td align="right">公路承载能力认定标准</td>
        <td>
          <span id="RHY_Fare_Result_WeightLimit">0</span>
        </td>
        <td>吨</td>
      </tr>
      <tr class="danger">
        <td align="right">超载:</td>
        <td>
          <span id="RHY_Fare_Result_Overload">0</span>
        </td>
        <td>吨</td>
      </tr>
      <tr class="success">
        <td align="right">超载比率:</td>
        <td>
          <span id="RHY_Fare_Result_OverloadRatio">0</span>
        </td>
        <td>%</td>
      </tr>
      <tr class="info">
        <td align="right">公路超限认定标准:</td>
        <td>
          <span id="RHY_Fare_Result_WeightLimitBIG">0</span>
        </td>
        <td>吨</td>
      </tr>
      <tr class="warning">
        <td align="right">超限:</td>
        <td>
          <span id="RHY_Fare_Result_OverloadBIG">0</span>
        </td>
        <td>吨</td>
      </tr>
      <tr class="danger">
        <td align="right">超限比率:</td>
        <td>
          <span id="RHY_Fare_Result_OverloadRatioBIG">0</span>
        </td>
        <td>%</td>
      </tr>
      <tr class="success">
        <td align="right">收费金额:</td>
        <td>
          <span id="RHY_Fare_Result_FEQZ">0</span>
        </td>
        <td>元</td>
      </tr>
      <tr class="info">
        <td colspan="3" align="center">
          说明：货车总重是指修正重量 <br>
更多计算器请长安二维码关注微信号		  
<br>
<img src='qrcode_for_gh_9a9c2300e1f5_258.jpg'>
<br>
	<script language="javascript" type="text/javascript" src="http://js.users.51.la/18569112.js"></script>
<noscript><a href="http://www.51.la/?18569112" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/18569112.asp" style="border:none" /></a></noscript>
        </td>
      </tr>
    </table>
  </div>
 
    </div>
</body>
</html>